package com.cloudkinto.service.orderback.vo;

import com.cloudkinto.common.utils.StringsUtil;
import com.cloudkinto.service.operate.vo.OperateRes;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/8/5 15:04
 * @description:
 */
@Data
public class OrderBackDetailRes implements Serializable {
    private Long id;

    private Long shopId;
    private String shopName;

    private Long storageId;
    private String storageName;


    /**
     * 原出库订单号
     */
    private String orderOutNumber;
    /**
     * 退货接收码
     */
    private String backCode;

    /**
     * 联系人
     */
    private String contactName;

    /**
     * 联系方式
     */
    private String telPhone;

    /**
     * 追踪号
     */
    private String trackNumber;

    /**
     * 快递公司
     */
    private String trackName;

    /**
     * 操作费
     */
    private Double operateFee;

    /**
     * 手续费
     */
    private Double taxFee;

    /**
     * 运输费
     */
    private Double shipFee;

    private Long fileId;

    private String fileUrl;
    private List<String> productFileUrl;
    private String doubleCheckFileId;
    private List<String> doubleCheckFileUrl;

    private Long companyId;
    private String tips;
    private String backResult;
    private String status;
    /**
     * 处理日期
     */
    private String dealDate;
    private String arriveDate;
    //最后保管日期
    private String lastDate;
    //是否开箱
    private String openBox;
    //是否能贩卖
    private String canSale;
    private String cod;
    private String hasFee;
    private String deductFee;
    private int doubleCheck;

    private List<OrderBackDetailItem> items;
    private List<OperateRes> operateResList;

    private double packageLength;
    private double packageWidth;
    private double packageHeight;
    private double packageWeight;

    public String getOpenBox() {
        return StringsUtil.createI18Message(openBox);
    }

    public String getCanSale() {
        return StringsUtil.createI18Message(canSale);
    }

    public String getDeductFee() {
        return StringsUtil.createI18Message(deductFee);
    }
}
